package cn.dust.design.pattern.creational.singleton;

/**
 * @Author: dust
 * @Date: 2019/11/25 22:24
 */
public enum EnumInstance {

    INSTANCE;
    private Object data;

    public Object getData(){
        return data;
    }

    public void setData(Object data){
        this.data=data;
    }

    public static EnumInstance getInstance(){
        return INSTANCE;
    }

}
